/*
 * Date：10/23/18 10:15 PM
 * Author: guomw
 *
 */

package org.elanfox.intellicommunity.biz.service.core.equipment;


import org.elanfox.intellicommunity.biz.entity.equipment.CardPO;
import org.elanfox.intellicommunity.common.ienum.CardEnum;
import org.elanfox.intellicommunity.data.base.base.SearchableCrudService;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * 有源卡service
 *
 * @author guomw
 * @date 2018/9/14
 */
public interface CardService extends SearchableCrudService<CardPO, Integer> {

    boolean updateEnable(Integer cardId);

    CardPO find(Long cardNo);

    boolean unbinding(Long cardNo);

    boolean updateDeleteStatus(Integer cardId);

    void lead(MultipartFile updateFile) throws IOException;

    void updateVoltageStatus(Long cardNo, CardEnum.VoltageStatusEnum voltageStatusEnum);
}
